package com.qujia.station.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qujia.station.domain.dto.StorageRecordsDetailsDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class StorageRecordsVo {

    private Long storageRecordsId;

    @ApiModelProperty(value = "单据编号")
    private String recordsCode;

    @ApiModelProperty(value = "商品总数")
    private Long commodityNum;

    @ApiModelProperty(value = "入库商品总数")
    private Long storageCommodityNum;

    @ApiModelProperty(value = "是否入库，0：待入库，1：已入库，2：入库失败")
    private Integer status;

    @ApiModelProperty(value = "入库状态")
    private String statusDesc;

    @ApiModelProperty(value = "调出油站id")
    private Long outboundStationId;

    @ApiModelProperty(value = "调出油站名称")
    private String outboundStationName;

    @ApiModelProperty(value = "调入油站id")
    private Long storageStationId;

    @ApiModelProperty(value = "调入油站名称")
    private String storageStationName;

    @ApiModelProperty(value = "备注")
    private String notes;

    @ApiModelProperty(value = "创建人id")
    private Long createUser;

    @ApiModelProperty(value = "创建人")
    private String createUserName;

    @ApiModelProperty(value = "操作员")
    private String operatorName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "入库时间")
    private Date outboundRepositoryTime;

    @ApiModelProperty(value = "调拨出库明细")
    private List<StorageRecordsDetailsDto> storageRecordsDetailsDtoList;
}
